﻿<Application 
    x:Class="nRoute.Samples.SquareAway.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:phoneNavigation="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:n="clr-namespace:nRoute.ApplicationServices;assembly=nRoute.Toolkit"
    xmlns:local="clr-namespace:nRoute.Samples.SquareAway">
    
    <Application.ApplicationLifetimeObjects>
        
        <!-- BOOTSTRAP nRoute -->
        <n:nRouteApplicationService />

        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>

    </Application.ApplicationLifetimeObjects>

    <!--RootFrame points to and loads the first page of your application
    <Application.RootVisual>
        <phoneNavigation:PhoneApplicationFrame x:Name="RootFrame" Source="/MainPage.xaml" />        
    </Application.RootVisual>-->

</Application>